from rest_framework.pagination import PageNumberPagination, LimitOffsetPagination
class LargeResultsSetPagination(PageNumberPagination):
    page_size = 1  # 每页默认显示几条
    page_size_query_param = 'page_size'  # 定制化显示几条
    max_page_size = 3  # 最大能显示几条每页